import random
str='abcdefghijklmnopqrstuvwxyz'
dict={}
list=[]
for i in range(100):
    str1=''.join(random.sample(str,2))
    list.append(str1)
list1=sorted(list,reverse=True)
print(list1)
for i in list1:
    if i in dict:
        dict[i]=dict[i]+1
    else:
        dict[i]=1
print(dict)



# 还是变量名的问题
